QT       += core gui serialport testlib

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

DESTDIR   = ../../bin

INCLUDEPATH += ..\..\cv\vs2019-hz\include
LIBS += -L..\..\cv\vs2019-hz\x64\vc16\lib -lopencv_world460

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

RC_ICONS += img\logo.ico

SOURCES += \
    Config.cpp \
    LoadSimCanFunc.cpp \
    main.cpp \
    mainwindow.cpp \
    mainwindowui.cpp \
    mythreadone.cpp \
    setup.cpp \
    tool.cpp \
    uim.cpp

HEADERS += \
    Config.h \
    LoadSimCanFunc.h \
    UISimCanFunc_RT.h \
    mainwindow.h \
    mainwindowui.h \
    mythreadone.h \
    setup.h \
    tool.h \
    uim.h

FORMS += \
    mainwindow.ui \
    mainwindowui.ui \
    setup.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

VERSION = 1.5.3.6
DEFINES += EXE_MAIN=\\\"$${TARGET}\\\"
DEFINES += EXE_VERSION=\\\"$$VERSION\\\"

QMAKE_TARGET_PRODUCT = Film Reader
QMAKE_TARGET_COMPANY = dashen
QMAKE_TARGET_DESCRIPTION = Reader Of Film
QMAKE_TARGET_COPYRIGHT = Copyright @ 2024 - 2026 dashen .All Rights Reserved.

RESOURCES += \
    image.qrc \
    image.qrc

DISTFILES += \
    bin/FR.ini
